<%@ page language="java" pageEncoding="UTF-8"%>
<%@ taglib prefix="s" uri="/struts-tags" %>
<jsp:directive.page import="com.anhry.app.safety.util.Util"/>
<%@ include file="/WEB-INF/pages/share/taglib.jsp"%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
	<base href="<%=basePath%>">
	<title>
		在线帮助
	</title>
	
	<link rel="stylesheet" type="text/css" href="<%=basePath+Util.SKIN%>/css/right.css">
	<script type="text/javascript" src="<%=basePath%>/js/jquery-1.7.1.min.js"></script>
    <script src="<%=basePath%>/js/table.js" type="text/javascript"></script>
    <script type="text/javascript" src="<%=basePath%>/js/dbdialog/lhgdialog.js"></script>
    <script type="text/javascript" src="<%=basePath%>/js/util.js"></script>
	<SCRIPT type="text/javascript" src="<%=basePath%>/js/checkbox1.js"></SCRIPT>
    <script type="text/javascript" src="<%=basePath%>/js/check_jquery.js"></script>
    <script src="<%=basePath%>/js/oa.js" type="text/javascript"></script>
	
	<script type="text/javascript" src="<%=basePath%>/js/My97DatePicker/WdatePicker.js" defer="defer"></script>
	
	<SCRIPT type="text/javascript">
		$(document).ready(function(){
		$("#addMore").click(function(){//附件添加
			var td = document.getElementById("more");	
			var br = document.createElement("br");
			var input = document.createElement("input");
			var button = document.createElement("input");			
			input.type = "file";
			input.name = "doc";
			input.size = "60";
			button.type = "button";
			button.value = "删除";	
			button.onclick = function(){
				td.removeChild(br);
				td.removeChild(input);
				td.removeChild(button);
			}			
			td.appendChild(br);
			td.appendChild(input);
			td.appendChild(button);	
		});
	});
	</SCRIPT>
</head>
  
  <body>
        <div class="body-box">
		<div class="map">
			<div class="map_con">
				<b>当前位置：</b> 协同办公&gt; 企业端管理 &gt; 公告通知 &gt; 添加 
			</div>
		</div>
		<div id="container">
		    <form name="newsForm" action="<%=basePath%>/oa/corpNotice_add.action" method="post" enctype="multipart/form-data" onsubmit="waitingDialog();">
		    	<table border="0" cellspacing="0" cellpadding="0"  width="100%" class="info_table">
					<tr>
						<td colspan="2" class="title_li">添加信息</td>
					</tr>
					<tr>
						<td class="title_td" width="12%">标题：</td>
						<td ><input name="tbCorpMsg.msgTitle" type="text" size="70%" id="bit1"><span class="note4">*</span></td>
					</tr>
					<tr>
						<td class="title_td">附件：</td>
						<td id="more"><input type="button" name="am1" value="添加附件" id="addMore" class="link_input"/>
						<img style="display:none;" src="" id="imglook1" height="60" width="60"/>
						<s:fielderror fieldName="suError" theme="simple"></s:fielderror>
						 </td>
					</tr>
					<tr>	
						<td class="title_td">内容：</td>
						<td >
							<input type="hidden" name="newsContent" value="">
							<iframe id="eWebEditor1" src="<%=Util.EDITOR_BASE_URL %>/ewebeditor/ewebeditor.htm?id=newsContent&style=standard600&skin=office2003" frameborder="0" scrolling="no" width="600" height="350"></iframe> 
						</td>
					</tr>				
				</table>
				<table border="0" cellspacing="0" cellpadding="0"  width="100%" style="float:left; padding-top:15px;padding-bottom:35px;">
					<tr>
						<td align="center">
							<input type="submit" id="btnSubmit1" class="link_input" value="提 交"/>
							<input type="button" class="link_input" value="返 回" onclick="window.location.href='<%=basePath%>/oa/corpNotice_list.action?keyWord=${keyWord}&tableType=${tableType}&num=${num}&size=${size}&beginDate=${beginDate }&endDate=${endDate }'"/>
						</td>
					</tr>
				</table>
				<input type="hidden" name="tableType" value="${tableType }"/>
				<input type="hidden" name="beginDate" value="${beginDate }" />
				<input type="hidden" name="endDate" value="${endDate }" />
				<input type="hidden" name="num" value="${num }" />
				<input type="hidden" name="size" value="${size }" />
				<input type="hidden" name="keyWord" value="${keyWord }" />
				<input type="hidden" name="search" value="${search }" />
		    </form>
	 </div>
	  </div>
  </body>
</html>
